package com.lanyun.serviceimpl;

import com.lanyun.dao.CustomerDao;
import com.lanyun.pojo.Customer;
import com.lanyun.service.CustomerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CustomerServiceImpl implements CustomerService {
    @Autowired
    private CustomerDao customerDao;
    @Override
    public List<Customer> getAll() {
        return customerDao.getAll();
    }
}
